package com.Liux.blog.service;

import com.Liux.blog.dao.UserMapper;
import com.Liux.blog.entity.User;
import com.Liux.blog.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

public interface UserService {



     List<User> loginPwd(String name, String pwd);

     User getUserById(String userId);

     ResultVo addUser(User user);

     ResultVo listUser(int pageNum,int limit);

     ResultVo loginUser(String name,String pwd);

     ResultVo updateUser(String id,String nikeName,String signature);

     ResultVo delUser(String id);

     ResultVo LikeUser(String nikeName,int pageNum,int limit);

}
